package com.ruoyi.achievements.mapper;

import java.util.List;
import com.ruoyi.achievements.domain.JwTeachAchievements;

/**
 * 教学成果奖Mapper接口
 * 
 * @author ruoyi
 * @date 2024-11-13
 */
public interface JwTeachAchievementsMapper 
{
    /**
     * 查询教学成果奖
     * 
     * @param teachId 教学成果奖主键
     * @return 教学成果奖
     */
    public JwTeachAchievements selectJwTeachAchievementsByTeachId(Long teachId);

    /**
     * 查询教学成果奖列表
     * 
     * @param jwTeachAchievements 教学成果奖
     * @return 教学成果奖集合
     */
    public List<JwTeachAchievements> selectJwTeachAchievementsList(JwTeachAchievements jwTeachAchievements);

    /**
     * 新增教学成果奖
     * 
     * @param jwTeachAchievements 教学成果奖
     * @return 结果
     */
    public int insertJwTeachAchievements(JwTeachAchievements jwTeachAchievements);

    /**
     * 修改教学成果奖
     * 
     * @param jwTeachAchievements 教学成果奖
     * @return 结果
     */
    public int updateJwTeachAchievements(JwTeachAchievements jwTeachAchievements);

    /**
     * 删除教学成果奖
     * 
     * @param teachId 教学成果奖主键
     * @return 结果
     */
    public int deleteJwTeachAchievementsByTeachId(Long teachId);

    /**
     * 批量删除教学成果奖
     * 
     * @param teachIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteJwTeachAchievementsByTeachIds(Long[] teachIds);

    /**
     * 查询全部教学成果奖列表
     * 
     * @param jwTeachAchievements 教学成果奖
     * @return 教学成果奖集合
     */
    public List<JwTeachAchievements> selectAllJwTeachAchievements(JwTeachAchievements jwTeachAchievements);
}
